<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="#" th:href="@{/webjars/bootstrap/4.1.3/css/bootstrap.css}" rel="stylesheet">
<script src="#" th:src="@{/webjars/bootstrap/4.1.3/js/bootstrap.min.js}"></script>
</head>
<body>
	<div class="container">
		<span id="errorId" style="color: red;" th:if="${param.error}">
		<!--/* [[${session.SPRING_SECURITY_LAST_EXCEPTION.message}]]<br> */-->
        	[[${session.msg}]]
        </span><br><br>
		<form role="form" action="#" th:action="@{/login}" method="post">
		  <div class="form-group">
		    <label for="username">用户名：</label>
		    <input type="text" class="form-control" id="username" name="login_account"/>
		  </div>
		  <div class="form-group">
		    <label for="password">密码：</label>
		    <input type="password" class="form-control" id="password" name="login_pass"/>
		  </div>
		  <div class="form-group">
		    <input type="checkbox" name="remeber">　记住我
		  </div>
		  <input type="hidden" id="csrf_token" th:name="${_csrf.parameterName}" th:value="${_csrf.token}" th:if="${_csrf.parameterName!=null}"/>
		  <button type="submit" class="btn btn-primary">登陆</button>
		</form>
	</div>

</body>
</html>